/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bosanova.managedBeans;

import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
/**
 *
 * @author Elvert
 */
@ManagedBean
@RequestScoped
public class GaleriaBean {
    private List<String> images;
    @PostConstruct
    public void init() {
        images = new ArrayList<String>();
        for(int i=1;i<=4;i++) {
            images.add("tab" + i + ".png");
        }      
    }
    public List<String> getImages() {
        return images;
    }  
}
